﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:local="clr-namespace:Tequila.Phone.Controls.Maps"
                    xmlns:maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps">

    <Style TargetType="local:PinnedMap">
        <Setter Property="Height" Value="800"/>
        <Setter Property="Width" Value="480"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:PinnedMap">
                    <maps:Map x:Name="Map"
                              Height="{TemplateBinding Height}"
                              Width="{TemplateBinding Width}"
                              CredentialsProvider="{TemplateBinding ApplicationId}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>